package com.fa.dv.service;

import com.fa.dv.domain.Subject;
import com.fa.dv.domain.dto.SubjectDTO;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface ISubjectService {
    List<Subject> selectList(SubjectDTO subjectDTO);

    void insert(Subject subject);

    void update(Subject subject);

    Subject selectById(int subjectId);

    void delete(Integer subjectId);

    void deleteList(List<Integer> subjectIds);

    void saveBatch(ArrayList<Subject> cacheList);

    Map<String, ArrayList<? extends Object>> getLogEcharts7Day();
}
